package com.github.willisaway.core.base;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;

@SuppressWarnings("serial")
@Data
public class BaseModel implements Serializable{
    @TableId(value = "row_id")//type=IdType.AUTO
    public Long rowId;
    
    @TableField("remark")
    public String remark;
    
    @TableField("sort_no")
    public Long sortNo;
    
    @TableField("deleted_flag")
    public String deletedFlag;
    
    @TableField("origin_code")
    public String originCode;
    
    @TableField("create_time")
    public Date createTime;
    
    @TableField("create_by")
    public Long createBy;
    
    @TableField("update_time")
    public Date updateTime;
    
    @TableField("update_by")
    public Long updateBy;
    
    @TableField("modification_num")
    public Integer modificationNum;
}
